home *** CD-ROM | disk | FTP | other *** search
- EDIT
-
- Invokes the default editor enabling you to edit a message before you
- send it. If you do not specify a default editor, the EDT editor is used.
- See the EDT Reference Manual for information about the EDT editor.
-
- Format: EDIT [filename]
-
-
- Qualifiers: /COMMAND
-
- /COMMAND=ini-file-spec
-
- Indicates the name of an EDT startup command file (EDTINI) for
- "ini-file-spec". If you do not specify a startup command file
- for "ini-file-spec", the default EDTINI.EDT file set up for the
- DCL EDIT command takes effect.
-
-
- /CREATE
-
- Tells MAIL to create a file. MAIL prompts you for a file name
- when you do not specify one on the EDIT command line.
-
-
- /JOURNAL
-
- /JOURNAL=jou-file-spec
-
- Specifies "jou-file-spec" as the name of the journal file.
-
-
- /OUTPUT
-
- /OUTPUT=out-file-spec
-
- Specifies "out-file-spec" as the name of the output file.
-
-
- /READ
-
- Indicates that a journal file or output file not be created.
- If you do not specify an existing file with the /READ qualifier,
- MAIL displays the message, "Input file does not exist" and
- returns the MAIL> prompt. When you use the /READ qualifier,
- enter the QUIT command to exit from EDT. If you enter the EXIT
- command, you are prompted for a file specification.
-
-
- /RECOVER
-
- Indicates that you want to recover a previous editing
- session that was prematurely aborted.
-
- Examples:
-
- 1.
- MAIL> EDIT/COMMAND=EDTFUN.EDT FILENAME.DAT
- 1 This is the first line of text in FILENAME.DAT.
- [EOB]
- *
- .
- .
- .
- *EXIT
- DISK$MEGAWORK:[BURTON]FILENAME.DAT;1 13 lines
- MAIL>
-
- This example shows how to invoke the EDT editor and
- execute the commands in an EDT startup command file named
- EDTFUN.EDT to edit an already existing file named
- FILENAME.DAT before sending it.
-
- 2.
- MAIL> EDIT/READ
- _File: EXISTS.TXT
- .
- .
- .
- *QUIT
-
- This example shows how to use the /READ qualifier with the
- EDIT command and exit with the QUIT command.